package com.netintech.project.system.word.service;

import com.netintech.project.system.word.domain.SensitiveWord;

import java.util.List;

/**
 * 敏感词Service接口
 *
 * @author admin
 * createTime 2020-08-25
 * lastModify admin
 * lastModifyTime 2020-08-25
 * group 电子政务小组
 */
public interface ISensitiveWordService 
{
    /**
     * 查询敏感词
     * 
     * @param sensitiveWordId 敏感词ID
     * @return 敏感词
     */
    SensitiveWord selectSensitiveWordById(Long sensitiveWordId);

    /**
     * 查询敏感词列表
     * 
     * @param sensitiveWord 敏感词
     * @return 敏感词集合
     */
    List<SensitiveWord> selectSensitiveWordList(SensitiveWord sensitiveWord);

    /**
     * 新增敏感词
     * 
     * @param sensitiveWord 敏感词
     * @return 结果
     */
    int insertSensitiveWord(SensitiveWord sensitiveWord);

    /**
     * 修改敏感词
     * 
     * @param sensitiveWord 敏感词
     * @return 结果
     */
    int updateSensitiveWord(SensitiveWord sensitiveWord);

    /**
     * 批量删除敏感词
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    int deleteSensitiveWordByIds(String ids);

    /**
     * 删除敏感词信息
     * 
     * @param sensitiveWordId 敏感词ID
     * @return 结果
     */
    int deleteSensitiveWordById(Long sensitiveWordId);
}
